package gov.ccswj.modules.bdbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.bdbusiness.dao.AZhishikuHangyeDao;
import gov.ccswj.modules.bdbusiness.entity.AZhishikuHangyeEntity;
import gov.ccswj.modules.bdbusiness.service.AZhishikuHangyeService;



@Service("aZhishikuHangyeService")
public class AZhishikuHangyeServiceImpl implements AZhishikuHangyeService {
	@Autowired
	private AZhishikuHangyeDao aZhishikuHangyeDao;
	
	@Override
	public AZhishikuHangyeEntity queryObject(Integer id){
		return aZhishikuHangyeDao.queryObject(id);
	}
	
	@Override
	public List<AZhishikuHangyeEntity> queryList(Map<String, Object> map){
		return aZhishikuHangyeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return aZhishikuHangyeDao.queryTotal(map);
	}
	
	@Override
	public void save(AZhishikuHangyeEntity aZhishikuHangye){
		aZhishikuHangyeDao.save(aZhishikuHangye);
	}
	
	@Override
	public void update(AZhishikuHangyeEntity aZhishikuHangye){
		aZhishikuHangyeDao.update(aZhishikuHangye);
	}
	
	@Override
	public void delete(Integer id){
		aZhishikuHangyeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		aZhishikuHangyeDao.deleteBatch(ids);
	}
	
}
